<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateAccoutsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('accouts', function (Blueprint $table) {
            $table->increments('id');
            $table->string('accout_name',255);
            $table->string('accout_id',255);
            $table->string('wx_name',255);
            $table->string('appid',255);
            $table->string('appsecret',255);
            $table->string('pwd_way',255);
            $table->string('token',255);
            $table->string('key',255);
            $table->string('type',255);
            $table->string('url',255);
            $table->timestamps('time');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('accouts');
    }
}
